package com.song.log_stack.rest;

import com.song.log_stack.vo.EasyVo;
import lombok.extern.slf4j.Slf4j;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author song
 * @Desc todo:
 * @date 2022/2/28
 */

@Slf4j
@RestController
@RequestMapping("/hello-world")
public class HelloWorldRest {

    /**
     * 健康检查入口
     * http://127.0.0.1:8888/api/hello-world/easy
     * */
    @GetMapping("/easy")
    public EasyVo easy() {

        return new EasyVo("qinyi", 19, 400000.0);
    }

}
